package com.wj.facedetect.model;import com.wj.facedetect.net.BaseCallBack;import com.wj.facedetect.net.NetRequest;import com.wj.facedetect.net.ReqUrls;import com.wj.facedetect.util.PreferencesUtils;public class SettingModel implements IBaseModel {    private NetRequest netRequest = NetRequest.getInstance();    private PreferencesUtils preferencesUtils = PreferencesUtils.getInstance();    @Override    public void cancleRequest(Object tag) {        NetRequest.getInstance().cancelRequestByTag(tag);    }    /**     * 获取所有库     *     * @param callback     */    public void requestGetALlKu(Object tag, BaseCallBack callback) {        netRequest.asynGet(preferencesUtils.getSharePreStrBaseUrl(PreferencesUtils.BASE_URL) + String.format(ReqUrls.URL_GET_ALL_KU, preferencesUtils.getSharePreStrClusterId(PreferencesUtils.CLUSTER_ID)), null, tag, callback);    }}